import request from '@/utils/request'

// 查询项目一览列表
export function listProject(query) {
    return request({
        url: '/project/info/projectGlanceList',
        method: 'get',
        params: query
    })
}

// 关注或取消关注项目
export function addOrDelfocus(data) {
    return request({
        url: '/project/focus',
        method: 'post',
        params: data
    })
}

//检查本项目结项状态
export function checkProjectStatus(projectId) {
    return request({
        url: '/project/info/checkProjectStatus/' + projectId,
        method: 'get'
    })
}